---
title: Separator
description: Used to visually separate content
links:
  source: components/separator
  storybook: components-separator--basic
  recipe: separator
---

<ExampleTabs name="separator-basic" />

## Usage

```jsx
import { Separator } from '@saas-ui/react/separator'
```

```jsx
<Separator />
```

## Examples

### Variants

Use the `variant` prop to change the appearance of the separator.

<ExampleTabs name="separator-with-variants" />

### Sizes

Use the `size` prop to change the size of the separator.

<ExampleTabs name="separator-with-sizes" />

### Label

Compose the `Separator` with `HStack` to add a label.

<ExampleTabs name="separator-with-label" />

### Vertical

Use the `orientation` prop to change the orientation of the separator.

<ExampleTabs name="separator-vertical" />

## Props

<PropTable component="Separator" part="Separator" />
